Wario Ware PSP Development Kit v1.0 |
by Sam (youresam)                   |
------------------------------------|

This is the Development Kit for creating mini games for Wario Ware PSP.
If you have created a game, submit it into the thread titled
"Wario Ware Minigames Development" in the pspupdates forum.

To 'install', simply put the "wwdk" and "wwdk%" folders in PSP/GAME.

HOWTO:
To create a game, refer to the functions below and the example level
in "/levels/level.lua"

About Advanced Controls lib:
Advanced Controls lib (acl) is a library that makes it easier to
detect button input.
FUNCTIONS:
(NOTE: the button must be in quotes, example: "start")
	acl_begin_press(button)
		-returns true if that button had just been pressed
	acl_hold(button)
		-returns true if that button is being held
	acl_release(button)
		-returns true if the button had just been released

Main functions and variables:

At the begining of a program, you must call:
	function minigame_new()
	minigame_text = "[text]"
	minigame_start()
Right before you flip the screen, you must call:
	minigame_functions()
After flipping the screen, call:
	if minigame_end then break end
After the minigame completly ends, call:
	end --this ends the function minigame_new
	table.insert(minigames, minigame_new)

VAR: minigame_text: The text displayed at the begining of the minigame
VAR: minigame_end: If true, the minigame is over and will break
VAR: minigame_win: The minigame sets this as true if the minigame is won
FUNCTION: display_image(x,y,button): Displays an animation of the
		image being pressed, indicating to press it.

A few more things about created games:
-You can have as many games as you want in a file.
-The only file read is "/levels/level.lua".
-Your images MUST load from "./images/".
-I (Sam) decide if your game will be put in the release, period.
-Once your game is complete, restart the Dev Kit by pressing start
 and re-run it. Doing this deletes all variables that your program
 might have had and was still using.